package com.sumainfor.pc.market.service;

import com.netflix.discovery.converters.Auto;
import com.sumainfor.pc.market.dao.OwnerMapper;
import com.sumainfor.pc.market.dao.SourceMapper;
import com.sumainfor.pc.market.dao.TenantMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 业主来源
 * @Auther: zhlu
 * @Date: 2018/11/11 18:10
 * @Description:
 */
@Service
public class SourceService {

    Logger log= LoggerFactory.getLogger(SourceService.class);

    @Autowired
    SourceMapper sourceMapper;

    @Autowired
    OwnerMapper ownerMapper;

    @Autowired
    TenantMapper TenantMapper;

    /**
     * 功能描述:
     * 获取业主来源列表
     * @Author zhlu
     * @Description //TODO
     * @Date 2018/11/11 18:12
     */
    public List<Map<String,Object>> SelectSourceList(){
        return sourceMapper.SelectSourceList();
    }

}
